import request from '@/utils/request'

// 查询项目标准列表
export function listProjectStandard(query) {
  return request({
    url: '/business/projectStandard/list',
    method: 'get',
    params: query
  })
}

// 查询项目标准详细
export function getProjectStandard(id) {
  return request({
    url: '/business/projectStandard/' + id,
    method: 'get'
  })
}

// 新增项目标准
export function addProjectStandard(data) {
  return request({
    url: '/business/projectStandard',
    method: 'post',
    data: data
  })
}

// 修改项目标准
export function updateProjectStandard(data) {
  return request({
    url: '/business/projectStandard',
    method: 'put',
    data: data
  })
}

// 删除项目标准
export function delProjectStandard(id) {
  return request({
    url: '/business/projectStandard/' + id,
    method: 'delete'
  })
}
